package com.jn.erp.web.api.common.enums;

public enum ErrorEnum {
    E101("E101","重名"),
    E102("E102","该学员已存在在其他班级"),
    E103("E103","请将无该课程报名记录成员移出课次后再点名"),
    E104("E104","导入文件为空"),
    E105("E105","该订单不存在超上情况，无需处理"),
    E106("E106","该学员剩余购买课时不足（不包含赠送课时），请报名后在进行处理"),
    E107("E107","扣除课时失败，请联系管理员"),
    E108("E108","试听学员扣除课时只能为0"),
    E109("E109","该记录扣除课时订单已清零，如仍需修改，请联系管理员"),
    E110("E110","选择学员已在该班级内请勿重新添加"),
    E000("E000","未知错误"),
    S200("S200","S200")
    ;
    private String value;
    private String name;
    ErrorEnum(String value,String name){
        this.value = value;
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
